package day7;

/**
 * @author oldliu
 * @since 1.0
 */
//榨汁机
public class JucieMaker {
    String brand;
    String color;
    int watt;//功率

    //榨汁
    public String makeJuice(String fruit){
        System.out.println(color+brand+"榨汁机启动了");
        System.out.println("刀片开始转动，搅碎了"+fruit);
        return fruit+"汁";
    }
    public String makeJuice2(String f1,String f2){
        System.out.println("功率是"+watt+"瓦，"+color+brand+"榨汁机启动了");
        System.out.println("刀片开始转动，搅碎了"+f1+"和"+f2);
        return f1+f2+"汁";
    }
}
